using QuikGraph;

namespace KinonekoSoftware.CodariaDB.Documents.Synthetic
{
    public sealed class SyntheticPath : FullObject
    {
        private string _name;
        private int    _amount;

        public string SourceID { get; init; }
        public string TargetID { get; set; }

        /// <summary>
        /// 获取或设置 <see cref="Amount"/> 属性。
        /// </summary>
        public int Amount
        {
            get => _amount;
            set => SetValue(ref _amount, value);
        }
        
        /// <summary>
        /// 获取或设置 <see cref="Name"/> 属性。
        /// </summary>
        public string Name
        {
            get => _name;
            set => SetValue(ref _name, value);
        }
    }
}